﻿<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no">
    <title>易开工</title>
    <link href="Style/Common.css" rel="stylesheet">
    <link href="Style/Employ.css" rel="stylesheet">
    <script src="Js/jquery.min.js" type="text/javascript"></script>
    <script src="Js/jquery-1.9.0.min.js" type="text/javascript"></script>
    <script src="Js/jquery.cookie.js" type="text/javascript"></script>
    <script src="Js/Banner.js" type="text/javascript"></script>
    <script language="javascript">
        function goUrl(t) {
            if (CheckUserLogin() == false) {
                if (t == "addtask") {
                    location.href = "Login.html?url=" + escape("AddTask.html");
                }
                if (t == "addtaskp") {
                    location.href = "Login.html?url=" + escape("AddTaskPeople.html");
                }
                return false;
            }
            if (t == "addtask") { location.href = 'AddTask.html'; }
            if (t == "addtaskp") { location.href = 'AddTaskPeople.html'; }
        }
    </script>
</head>

<body>
<div class="Header">
    <p>首页</p>
    <b onClick="location.href = 'Area.html'" id="cityB"><img src="Images/ArrowDown.png"></b>
</div><!--Header end-->
<div class="new_banner">
    <ul class="rslides f426x240" id="adUl">
        <li><img src="Images/Banner.jpg"></li>
    </ul>
</div><!--new_banner end-->
<div class="RoleBar Left">
    <span class="Emed" id="erSpan"><a href="javascript:showHome('#erDiv')">我是雇主</a></span>
    <span class="Emer" id="eeSpan" style="background-color:lightgray;"><a href="javascript:showHome('#eeDiv')">我是雇员</a></span>
</div><!--RoleBar end-->
<div class="WantBar" id="erDiv">
    <ul>
        <li onClick="goUrl('addtask')">
            <span class="ListIco" style="background: url(Images/FindIco.png) 20px 20px no-repeat #fe980e; border: 1px solid #f78600"></span>
            <p class="Sizing">
                <b>我要发包</b>
                <span>雇主发布整包任务，由施工队长接活全程包干到底</span>
            </p>
            <img src="Images/ArrowRight.png" class="MoreIco">
        </li>
        <li onClick="goUrl('addtaskp')"">
            <span class="ListIco" style="background: url(Images/FindIco.png) 20px -204px no-repeat #01a1ff; border: 1px solid #0794fc"></span>
            <p class="Sizing">
                <b>我要找人</b>
                <span>零散活或组件工程队，需找合适的工人最适宜零活散活</span>
            </p>
            <img src="Images/ArrowRight.png" class="MoreIco">
        </li>
    </ul>
</div><!--WantBar end-->
<div class="WantBar" id="eeDiv" style="display: none;">
    <ul>
        <li onClick="location.href = 'TaskList.html'">
            <span class="ListIco" style="background: url(Images/FindIco.png) 20px -485px no-repeat #fe980e; border: 1px solid #f78600"></span>
            <p class="Sizing">
                <b>我要承包</b>
                <span>承包工程，负责实施工管理及工程竞价任务需要包干到底</span>
            </p>
            <img src="Images/ArrowRight.png" class="MoreIco">
        </li>
        <li onClick="location.href = 'TaskPeopleList.html'">
            <span class="ListIco" style="background: url(Images/FindIco.png) 20px -708px no-repeat #01a1ff; border: 1px solid #0794fc"></span>
            <p class="Sizing">
                <b>我要找活</b>
                <span>找活接活，平台负责结算工资工资有保障，施工有活干</span>
            </p>
            <img src="Images/ArrowRight.png" class="MoreIco">
        </li>
    </ul>
</div><!--WantBar end-->
<div class="MenuBar" id="menuDiv">
</div><!--MenuBar end-->
</body>
</html>
<script src="Js/common.js" type="text/javascript"></script>
<script src="Js/index.js" type="text/javascript"></script>
<script>
    var city = $.cookie('VPIAO_MOBILE_CURRENTCITY');
    if (!city) {
        city = '深圳';
        $.cookie('VPIAO_MOBILE_CURRENTCITY', city, { expires: 7, path: '/' });
    }
    $('#cityB').html(city + '<img src="Images/ArrowDown.png">');

    function indexAD() {
        $.ajax({
            type: "get",
            url: "/ServiceInterface/MoreOthers.ashx",
            data: { flag: "indexad" },
            dataType: "text",
            async: false,
            success: function (data) {
                //alert(data);
                if (data != "") {
                    $("#adUl").html(data);
                }
            }
        });
    }
    indexAD();
</script>